Ext.define('WP.view.Main', {
    extend: 'Ext.tab.Panel',
    id:'mainTabPanel',
    requires: ['WP.view.PageWP', 'WP.view.ReadRss', 'WP.view.Contact'],
    config:{
	 tabBarPosition: 'bottom',
	 defaults: {
	 },
     ui : "dark",   
	 items: [
		 {
		    xtype: 'pagewp',
		    url:'./sampleWPdata/test.html',
		    
		    titlePage :'Page of my site',
		    title : 'Page',
		    id:'page1',
		    iconCls  : 'search',
		    html:"Loading...",
		 
		 },{
		    xtype:'readrss',
		    // RSS generated by WP json-api plugin
		    //feedUrl :'./sampleWPdata/feedJson.js',
		    feedUrl : 'http://www.djavupixel.com/api/get_recent_posts/?tag_slug=Coding',
		    title:'RSS',
		    titlePage :'Feed News',
		    id:'rss1',
		    iconCls  : 'search',
		    html:"Loading..."
		 },{
		    xtype :'contact',
		    iconCls  : 'search'
		}

	     ]
     }
 });